(function() {

    var $u = juliet.using({ i18n : 'juliet.i18n.i18n-0.1' });

    var messages = {

        'not-empty' : 'Value is required',
        'length' : 'Length must be at least ${min} chars',
        'custom' : 'Custom validator error',
        'select' : 'Wrong value selected',
        'checkBox' : 'Wrong value',
        'radio' : 'Wrong value',
        'regex.email' : 'Not a well-formed email address',
        'regex.latin' : 'Value contains invalid chars',
        'verify' : 'Password must be equals to password confirmation',
        'form.summary' : 'You must fill all fields correctly'

    };

    $u('i18n').registerMessagesBundle('validation', messages);

})();
